package com.gem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 刘聪
 * Created  on 2021/3/22
 */
@Data
@TableName(value = "mall_category")
public class ProductCategory implements Serializable {
    private static final long serialVersionUID = -4851494149394543998L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String name;

    /**
     * 父级目录id
     */
    private Integer parentId;
    /**
     * 类别状态1-正常,2-已废弃
     */
    private Integer status;
    /**
     * 排序编号,同类展示顺序
     */
    private Integer sortOrder;


}
